Total Complexity | 36 |
Dependencies | 12 |
Dependents | 43 |
Total lines | 163 |
Lines of code | 102 |
Logical lines of code | 68 |
Comment lines | 47 |
Methods | 11 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
build() | 47 | 11 | 32 | |
isAnyLowerPeriodDisabledForAPI() | 56 | 6 | 20 | |
makePeriodFromQueryParams() | 55 | 5 | 19 | |
convertRangeToDateIfNeeded() | 62 | 6 | 10 | |
checkPeriodIsEnabled() | 73 | 2 | 5 | |
__construct() | 91 | 1 | 2 | |
shouldHandle() | 100 | 1 | 0 | |
make() | 100 | 1 | 0 | |
throwExceptionInvalidPeriod() | 69 | 1 | 6 | |
isPeriodEnabledForAPI() | 74 | 1 | 4 | |
getPeriodsEnabledForAPI() | 75 | 1 | 4 |